/*Main Table and Table A1 (Includes Circuits)*/
use "/Volumes/Rugged_Key/Hope/2017_JLC_WarCOAJudge/War_JudgeLevel/FinalDraftData/DifferentialEffectWarJLC.dta"
xtlogit civLibAndCrim_lib wartime GHP crim wartimeGHP crimGHP wartimeCrim crimWartimeGHP casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949, vce(robust)
xtlogit civLibAndCrim_lib wartime crim wartimeCrim casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP<=0, vce(robust)
xtlogit civLibAndCrim_lib wartime crim wartimeCrim casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP>0, vce(robust)
xtlogit civLibAndCrim_lib wartime GHP wartimeGHP casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & crim==1, vce(robust)
xtlogit civLibAndCrim_lib wartime GHP wartimeGHP casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & crim==0, vce(robust)
xtlogit civLibAndCrim_lib wartime casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP<=0 & crim==1, vce(robust)
xtlogit civLibAndCrim_lib wartime casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP<=0 & crim==0, vce(robust)
xtlogit civLibAndCrim_lib wartime casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP>0 & crim==1, vce(robust)
xtlogit civLibAndCrim_lib wartime casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP>00 & crim==0, vce(robust)

/*Table A2 (fixed effects model)*/

xtlogit civLibAndCrim_lib wartime GHP crim wartimeGHP crimGHP wartimeCrim crimWartimeGHP casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949, fe
xtlogit civLibAndCrim_lib wartime crim wartimeCrim casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP<=0, fe
xtlogit civLibAndCrim_lib wartime crim wartimeCrim casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP>0, fe
xtlogit civLibAndCrim_lib wartime GHP wartimeGHP casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & crim==1, fe
xtlogit civLibAndCrim_lib wartime GHP wartimeGHP casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & crim==0, fe
xtlogit civLibAndCrim_lib wartime casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP<=0 & crim==1, fe
xtlogit civLibAndCrim_lib wartime casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP<=0 & crim==0, fe
xtlogit civLibAndCrim_lib wartime casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP>0 & crim==1, fe
xtlogit civLibAndCrim_lib wartime casualties partycap lowerlib warissue govresp circuit1 circuit2 circuit3 circuit4 circuit5 circuit6 circuit7 circuit9 circuit10 circuit11 circuit12 if year> 1949 & GHP>00 & crim==0, fe
